Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default option for ElasticSearch Plugin #243

Conversation

fixlair
Copy link
Contributor

@fixlair fixlair commented Dec 15, 2015

No description provided.

@garnier-quentin
Copy link
Contributor

Thanks. But it's not needed. It's by default in the http lib.

@fixlair
Copy link
Contributor Author

fixlair commented Dec 15, 2015

Hello,
Thanks for you reactivity Quentin. But when I test on the updated master i've got the following :

./centreon_plugins.pl --plugin=apps::elasticsearch::plugin --mode=cluster --hostname=XXX.XXX.XXX.XXX
Use of uninitialized value in concatenation (.) or string at /var/lib/centreon/plugins/apps/elasticsearch/mode/cluster.pm line 80.

./centreon_plugins.pl --plugin=apps::elasticsearch::plugin --mode=cluster --hostname=XXX.XXX.XXX.XXX --port=9200 --urlpath=/
WARNING: Primary shards are allocated but replicas not for es_rpc_preprod | 'primary_shard'=5;;;0; 'shard'=5;;;0; 'unassigned_shard'=5;;;0;

@garnier-quentin
Copy link
Contributor

You use the last github version ?

garnier-quentin pushed a commit that referenced this pull request Dec 15, 2015
@garnier-quentin
Copy link
Contributor

Done. Could you test it ?

@fixlair
Copy link
Contributor Author

fixlair commented Dec 15, 2015

It works great !
Thank you !!!
(I just get the way you did the change :))

Sims24 pushed a commit that referenced this pull request Jul 21, 2021
Co-authored-by: Kevin Duret <kduret@centreon.com>
Co-authored-by: Simon Bomm <sbomm@centreon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants